package com.situ.vivamarket.dao;


import com.situ.vivamarket.model.Member;
import com.situ.vivamarket.model.search.MemberSearchBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MemberDao {
    List<Member> findAll(MemberSearchBean msb);

    int deleteByIds(Integer[] ids);

    int insert(Member member);

    Member findById(Integer id);

    Member findByAccount(String account);

    int update(Member member);
}
